package com.example.librarysystem.Service;

import com.example.librarysystem.entity.Admin;
import com.example.librarysystem.entity.AdminBook;
import com.example.librarysystem.entity.Books;

import java.util.List;

public interface AdminService {
    Integer selectCount();
    Admin selectByName(String name);
    List<Books> selectBookAfter(AdminBook adminBook, int currentPage, int pageSize);
    List<Books> selectBookBefore(AdminBook adminBook, int currentPage, int pageSize);
    List<Books> selectBookBetween(AdminBook adminBook, int currentPage, int pageSize);
    List<Books> selectBook(AdminBook adminBook, int currentPage, int pageSize);
    int selectBookAfterCount(AdminBook adminBook);
    int selectBookBeforeCount(AdminBook adminBook);
    int selectBookBetweenCount(AdminBook adminBook);
    int selectBookCount(AdminBook adminBook);
}
